Crate qutex

source ·
Expand description

A collection of locking data structures, both thread-safe and single-thread-optimized, which use Rust futures instead of thread-blocking.

Structs§

  • A future which resolves to a Guard.
  • A future which resolves to a ReadGuard.
  • A future which resolves to a WriteGuard.
  • Allows access to the data contained within a lock just like a mutex guard.
  • A queue-backed read/write data lock.
  • A request to lock the lock for either read or write access.
  • A lock-free-queue-backed exclusive data lock.
  • Allows read-only access to the data contained within a lock.
  • A request to lock the qutex for exclusive access.
  • Allows read or write access to the data contained within a lock.

Enums§

  • Specifies whether a QrwRequest is a read or write request.